modify returned package