created attribute reader for  result so we can retrieve from outside classes