pulling orders from DB working