compile examples