segments view and clicking