create model before sending to db service