renamed code samples