added a warning about name duplication