Worked on source calculations kernel