Skeleton for output function