added destroy to app