make things compilable
now rows have their idxs
make things compilable
all classes are passed with their pointers