added a basic user interface