simplified the master example app