removed logs and whitespace