v0.0.3 if given an array select based on first key