Added puts for debugging