logs changed to use string.format