add def to format C letter
pass array argument to function