use typed arrays as input