begin transition to macro for check_al_context