renamed offsets into drawCalls