added hand recognition