modified contentsManager