commented out custom hittest function