check all the simple-app code - need more clarity in it ((