defining output