lab8 for finished, need gaussian reduction