creating row class