now using dev_set in translate