Use intermediate Functions to access view and log, rename logfunctions