work in progress
before changing to htmlmode urls