replaced old puthk and putsk calls with printk