Added mysql contain function
Removed unused code