changed extend to include and vice-versa