added elif to conditionals section