change param to be string and not object
update to background functions