add row functionality completed