implements some UI for testing