Updated from 'println' to 'logger'