implement trainer index
adapt to new parent layout