this is unnessary, you could just put W into the src. Using src = W.loc