adding roost example code