completed two solutions