changed some arduino lines