modified way of getting hands from frame