adding range analysis