added method and print list