refactored handManager (still in progress)