Question four code