switched over functions to have %values vs i32s