Split to classes