some de-duplication