Dont know if it works yet, but this is decoding stuff