All the code is written in `main` func. Break the code into different functions
Activity