Some code to retrieve info about source.