main arduino program(unfinished)