code climate added
code climate results
simplify complex method