Added basic range analysis flow function stuff