corrections as per comments.