removed log lines reverted some changes