Output implementation and initialization