If, else, and ifelse blocks added