Fixed Public block creation. Added block logging