Simple codes

Modified