Add some puts and console log statements for testing