removed call to missing isEntity method