added block create and read functionality