example code and explanations
use platform aliases