added fail functions, changed link to wiki