before I changed to result enum
decided against the result enum