allow args for mapping function