modified for consistency with beginLoad and endLoad things