add const to fetchLevel