added better comments for sample app