Adding type annotations and using only Format String Syntax