Code sample were wrong