logString1 and completed logic