adding starting bits of mongo plotting