insert and print interface functions working