added user input parsing - user interface