improved example to use town from options