Moved var up