convert to an array cleanly
convert to an array more cleanly