changed enums to integers so that fonts can be styled