seeing if simply prefix and suffix checking is engouh