#4 collition detection