typehint and variable initialization