Added answer to the first question.