manager receives commands