change decode to load