almost ready - flags and see also structure still missing