Moved code into Arduino sketech