codeclimate doesn't like assignment outside of methods