Maybe move it to a method.