- minor simplification of sample app