changing to obj from array
Merge pull request #17 from wmantly/benny

changing to obj from array