by providing a magnetic pattern, a ferroelectric pattern or a semiconductive pattern