Put individual line collision check into own method