started sql class methods