Yes, I agree with your idea.Here method is better