add simple function defining and evaluation