commit the basic codes

basic codes