removed shutdown hook