added text alignment code