extended example, resource objects etc
forgoten christmas commit