initialize source with 0