refactored inheritance in lorem provider