add simple code structure