Fixed code samples