correct add and print method