completed insert and print methods