Pass array instead of just integer.