Abstracted hard code to check_range method, awesome job me