started the isManager function