Trying to get sample to work