logic for lorem now works as expected