WIP notes ch.9
WIP ch9 - criteria API