adapt sketches for JN Micro use