Added:
- Pause option
- Logic
- transition calculation