example code updated to ci 2 standard