support array input -- closes #3
1.2.0