just realized c doesnt have any way to determine a variable argument list length. will implement my own with arrays