simplified stored function processor