deleted old hex range finder function