worked on mnesia integration