move row mapper to instance constant