Added range computation