made loading levels more efficient