add alloc_declaration and chain_declaration in create.c