added several features to processManager