generalizing Output