finds source positions