reference and sampleapp

some leftovers