customizable runtime output function