UserInterface design 2 and testMain