updated decode a bit