added new sm eventphp