First attempt at select by number. Not fully working but in some cases OK.