Some changes

Explanation on arduino forums.