corrected minor errors