throwing weird-ass value errors