further work on attributes fragment