compilation example works