made sources a variable