update QuarterFunc to int