Minor errors resolved