basic collision system implemented