forgot to add params to function