Making the M and J command easier to read