-implemented make center percent and percent