removes sourcerange function