factored starting point's if/else into a single if