added prints for examples