implemented output