adding all print code