Change code structures.
Add some parameters.