takes text inputs, example fix