migrated attribute functions to declarations (msba2)