Minor revision

Adding checking for hands, with testing capabilities.