select and use data