added an example using an object instead of harmony templates