Added solutions for Methods section