Simplifing set or consume method