Compliance with building code