introduced source_generating function - all test are green