moved ty type to Row