new way of checking prefix and words on server