GUI funtionality added