compiling code.Write gausian needs revision