add agent and change background