make it work for all Arduino variants