redundancy removed for code climate review