Are there any differences between "I took pains to master English" and "I went to pains to master English"? Thanks in advance!