moved lambda from Constants to EmModel