call new on constructor in demo app