prep for mnesia