updated orderhandler to handle 3 orders