Change "name" to "sourceName" here and in other similar places for clarity.