Programmable structure