removed the Result struct