prior converting to objects