sample app and lib