still working on collision, fixed errors though