Possible error in new code