Added the onJoin methods