corrected the typos for extends