completed the first problem