added most print statements