removing stuff that's duplicated