change type to *, to support var ID decl