Need a better grade than F on codeclimate.com