removed dud function