how does it work and how did you decode it