object to array
using theirs