[main] add source code