Done changes suggested by Prof. Sharat.