refactored paper to inherit slim