adding properties and methods for the result api