assign new class to  return data from library