ADDED a criteria query sample