change from cli to user input