- replaced tab with space
- made the code shorter.