is dead and no more need to be set in function