done first part of demo app.