first attempt at insert and select