I've changed the last 'expect period' to just be an if statement, so we don't have to call next sym after that...