added a second else if