corrected couple of errors