updated demo with settings