added comp_create example