fixed it to actually work