entity base method