added comments to UserInterface