Changed code samples