refac rest