better checking if already printed