SimpleUI class practice