Purpose of front variable in enqueue function

In the enqueue function, there is a statement, “int ai = (front + size)%data.length”
In this as front always points at 0 what is the purpose of adding it to size.