method getPerX implemented