wip - support for local attributes