Updated to use src as a param.