select and insert officially working