updates to remove dependency on creating strings