public function getTypes()
 {
     $packageTypes = PackageType::all();
     $names = array();
     foreach ($packageTypes as $packageType) {
         array_push($names, $packageType->name);
     }
     return $names;
 }