refactored hand rank added