added shoter logging feature