more detailed read, cleaned up the script.