test with printout