No graphics, added code to get query time