added variable weights function (unfinished) to the outtakes folder