updated to use mongo 1.0 dependency