sample routines basically working