trim types, get arrays working