set the background and add archieved function