refactored OrderDAO