added some first collision check