Polished code samples