user interface lab skeleton code