Added else if.