removed a few inputs such as starting trial and total