added function labels
added Emit to StmtBlock