renamed sample to distinguish from tutorial