emit public method replaced with send