Added user inputs and fixed trust