arror-functions