add allowance and axis

M