unwanted log statements were removed.