adding three programs