working dynamic compile!