corrected typing