Moved variable definition