some minor errors rectified