Added running time analysis