added logic to choose a method prefix, implemented this in the UI as a textfield