created an access variable to prevent unwanted access