Add functionality for win text