Added outputting