finished the slater optimization part