#5 Added puts for debug
#5 Added puts for debug