manager logic