cleanup code samples