added functionality for window title name