Solved issue with variables in Hand class