implemented QUIT and .die