adding support for addDefault