Implementation of output