revamping how to pick from array