add obj to compile