I take it back, the function was borked