Add print collection function