Added inner Result struct for returning multiple values