added error handling to manager methods