change collision logic