adding my first two solutions