r function for access to components a modules