check for correct names