type annotations @ optional example

made more prettier