Creates prefix checking