fix so it runs more than once