I learned how to use regex flags
extracted numbers must be cast to int
refactor SSD check
function deprecation
minor conditional tweaks
refactor - no need for so many functions currently