got box decoding working