some example code at Main