almost implemented rudementary collision