pasted solution