redid several in go, allow for checking a range with python