rewriten API for special events

missing nl at the eof