coded all 6 parts