move requires inside methods because ruby