added support for formula results