finish all management function