Yes, I got it. But I want it to be a function so that we can move it when we add more feature to this class. I don't like a function contains more than 100 lines.