correct code example