changed getHandValues