fixed arr() so that it only has internal references; error triggers are a little better