first attempts on collision-detection