refactored arduino route