finishing up SQL execution work