nth in place for coloring rows