finish style func