Example application works. Now lets make it easier