output content function