Only a typo: prefend = prevent ;)