utils: adds endof, other formatting fluff