refactor manager purhcases