add controller demo