Adding an insert_row function