Move variable to proper location