adding in rest reconstruction