Rest learning