emit working fine