distinguish between : and :: for local and global declarations