safety checks