Improve the underlined part of the sentence. Choose 'No improvement' as an answer if the sentence is grammatically correct.
"Despite of works hard, he failed the examination."1
working hard, he failed
2
having worked hard, he failed
3
having worked hard, he was failed
4
No improvement