variable places in wrong part of function - moved