Initial arduino version