add result get logic