getTypes works with new data modell