Digital font class used instead of assigning labels one by one