add var.c and fun.c for memory allocation