added more code to driver program and sqc