Added else conditional along with conversion and alert.