cleanup, specifically cleaned up the init routine