apply rest