decode everything and add a working example