Moved variable declaration