relocate variable declaration part.