create add, print

create add, print function