copy and paste errors corrected