added function evaluation for cursor-expressions