Translating to Tutorial 3