added return for self-collision checker