added location:history option