add code to get source code from range