updated arduino code