Worked on disconnect method