Add first and last rows