further work adding the features model