Added Critera instance. Added SQL language reference
Removing unused vars
criteria