make the function actually work now