seems to be kinda working, but getting values that are a bit off