added className to entity