small change to remdup, added an explanation for remdup as well