first implementation process_mouse_over

Still have to format it better, but couldn't find a difference between
the original function.