add a way to quit