demo works on localhost