console and iifes snippet added