adding logging of runtime
the runtime should also be used in the messaging.