advanced compilation works