Variable $attr no longer needed