Added helper method for successfull an failure results