add rows and caption