UpdatedShift #1 select, insert
improved formatting