Added row functionality