added task manager functions back