implemented inShare to show view