elif

replaced all "fi if" parts with elif