finish all manager function