adding printlns to main