use Last() method of lists