make modular code
make modular code