Not okay. Do not use series() outside of run(). Use it inside run() instead.