added more print statements for testing