Fire protection through modern building codes