reverse order to give pics in getPics