logic for selecting rows and stripping rows are implemented and seperated