-added show log method