add validation, add price field, add debug params