take over from gregbells example application