set ;m ;g ;y for ma g'a and y'a respectively