added some println to see output/input