hacking my way through making match_num work, now printing all nums that start with 1