add insert, select basic implementation