moved isAlnum test to new file