# Substitution not supported in hex literals?

**URL:** <https://forum.makecode.com/t/substitution-not-supported-in-hex-literals/22953>\
**Category:** Help\
**Created:** [October 2, 2023, 5:05pm UTC](https://forum.makecode.com/t/substitution-not-supported-in-hex-literals/22953 "2023-10-02T17:05:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [October 2, 2023, 5:05pm UTC](https://forum.makecode.com/t/substitution-not-supported-in-hex-literals/22953/1 "2023-10-02T17:05:30Z")

</div>

I’m trying to make a serialized system where I have many items with different names, eg. `name1`, `name2` etc. I have images named `<name>_icon`, so for example `name1_icon`, `name2_icon`. I’m trying to join the name and suffix with substitution when getting the image like this

```auto
assets.image`${variableWithName}_icon`

```

Unfortunately, this does not work, I get the “substitution not supported in hex literal” error. I don’t see a workaround. Is there another way, and if there isn’t what is the possibility of this feature being added?
