Added prototype for mongo interface