method of dealing with expression functions