adding explanation for variables r and epsilon