various snippet