added block set/get functions