Refactoring of Hand.cs