moved var in place