no gobal variables-final