add important ruel to exit