front + rest callbacks