- style sync script
- use ternary operator there