added insert, delete statements