coding gui spec refactoring