half hearted forward usage of attributes and a little scoping