added compile time error example