Implement hittest