initial checkin of active_attr refactor