How did you solved this problem exactly ?