Add print statements for debugging