added type annotation