removed whitespace & moved attr accessor