Added basic hit detection