add orderWithData method