Atlas example code