done with the ecs logic