now outputting to collection