Move hand logic into hand