refactor to exercise manager