You can drop the conditionals inside the loop

Just trying to learn all this github features and yours seem a good place to start. Forgive me if this was a nuisance to you.