left and right justify method