locke rewritten