pratting the UI