add some basic codes