'drain' event is overloaded