First and second parts done