collision handler added and implemented, still needs some tweaks tho