refactored Ax a bit