added savePartial method