thank you so much, that seems to work magnificently.
it would be really awesome if it was possible for me to not have to switch on the value in the dict because i know it’s guaranteed to be whatever type i give to it but i guess that’s probably not possible, thank you so much for helping me.