Adding conditional if, else if statement