add class of fraction