using NMDB as my dataLayer