refactor recess