removed hittest function, no need for it since the hittest is builtin