add return value on append