There are unnecessary {} within the conditionals in this method