added logic for league entity