Converted to coffee, added collection support and piping