change to use MJ d-1 m-2 as database storage