trying out code from mongohq help