Added example sketch and localization protection