Small error in notaccepted list.. needed to define the list first.