Add puts statements to methods for troubleshooting.