Get decode basically working