Unnecessary "if" deleted