add drag function for stored