ported get started tutorial from my blog