Common used source code