Rest factory