Fixed code example