removed optional type annotations