Added text wrapping for end