output function should not be exported