tidying attribute access