filling out decode case block