@Nekobit thanks that looks brilliant why havent i thought of using printf style stuff for simple templating. btw do you think my code looks okay? havent actually touched code in a while so i fear getting rusty