formatting text positions