everything is proper selection subsetting and nothing hurts
small refactor and addition of comments to avoid magic numbers
refactor and add comments to avoid/reduce magic numbers