cleanup

if statements made more concise and tradedout += operators for << to
make it more ‘ruby’.