prepare dataset and aparapi