log, extern function, connection