added emithelper class