add text margin sequence function