marked CLSCompliant
updated samples