Change the method of rest formatting