implemented entity methods