removed dupe function