keeping an id for reference, emitting it