A Problem Can you see a problem? We have duplicated code already Copying code is bad Instead we should make it a function That way it is easier to change later So we'll write a few more functions And rewrite the existing ones