Add and modify code