added explicit type annotation