yield added to monitor enter/exit commands