initialize codes

initialize codes