remove dups reimpl