bunch of framework code for items & blocks