use provided vars rather than integer