Move endpic to data