adding feature: simple blocks and inheritance