modify rest