more duplicate checking