coremap and readonly