start() is in the right place and some SQL improvement