ported & ref' events handler