implemented info button function