refactor manager calculator page