enhanced hand detection