Moved tens from switch to array