removed extra "extend"