eliminated helper print statements