"if" statements are redundant