changes to usage of rest