start doing final project, defined some util function
make compiler generate useful info for gen_gc