From the common English grammar lesson, the past perfect tense with had is usually followed by dependent clause. For example:
He had studied English before he moved to New York.
Now, if I want to say something like this:
Yes, I had turned off the lamp.
I had made two mistakes:
Is it allowed in English grammar?