changed background and type