merge pile class into hand class