treasure picker and array builder