print and testing