added that last bit of functionality - support for ems