changed the arguments for check_clear, also started working on check clear for airlocks