can now decode correctly