add get/has definition