changed hard-coded empty-function to defined one also used from the
outside