travis and exampls modified