Adding text justification code