add type declarations