make public constructor for Row object