code cleanup - got rid of test prints