add condition to manager guard clause