Added an emit statement