DB call changes to marketImpl