Addind didFinish delegate method