Updating program 2