compile goal