str and output