this  "if else" not working
for me,  this should be "if end"