basic setup for working with rows