implement upload result class