defining outputs