make struct fields private
return Result for response