using Entity class instead of OutlineEntity