why not write an ON CONNECT event?