testing new collision algoritm. not too succesful yet