remove products function
ell rec