added entitiy interface