added printr snippet