added processing for "else"