GUI functionality added